package com.qumitech.visualnovel.service.block;

import com.qumitech.visualnovel.controller.vo.block.BlockApplicationConfigVO;
import com.qumitech.visualnovel.controller.vo.block.BlockDetailVO;
import com.qumitech.visualnovel.controller.vo.block.BlockPlanConfigVO;
import com.qumitech.visualnovel.pubdef.dto.blockPosition.BlockPositionDTO;

import java.util.List;
import java.util.Map;

/**
 * @Author :  ZhChNing
 * @Descriptiom :
 * @Date Created in 2019/3/11 9:47
 */
public interface BlockService {

    Map<String, Object> listBlockPlanConfigVO(Integer offset, Integer limit,Byte  blockType,String planName,Integer planId);

    Map<String, Object> addBlockPlanConfigVO(BlockPlanConfigVO blockPlanConfigVO);

    void updateBlockPlanConfigVO(BlockPlanConfigVO blockPlanConfigVO);

    void removeBlockPlanConfigVO(Integer planId);

    Map<String, Object> listBlockPlanConfigVO(Integer planId);

    Map<String, Object> listBlockApplicationConfigVO(Integer offset, Integer limit,String channel, String version, Integer system, String packageName,String applicationName);

    void addBlockApplicationConfigVO(BlockApplicationConfigVO blockApplicationConfigVO);

    void updateBlockApplicationConfigVO(BlockApplicationConfigVO blockApplicationConfigVO);

    void removeBlockApplicationConfigVO(Integer applicationId);

    Map<String, Object> getAppInfo();

    void addBlockPosition(BlockPositionDTO blockPositionDTO);

    void updateBlockPosition(BlockPositionDTO blockPositionDTO);

    Map<String, Object> getPositionInfo(Byte viewType);
}
